package me.minicoral.service.impl;

import java.util.List;

import me.minicoral.action.Comment;
import me.minicoral.dao.CommentDao;
import me.minicoral.dao.impl.CommentDaoImpl;
import me.minicoral.service.CommentService;


public class CommentServiceImpl implements CommentService
{

	private CommentDao dao = new CommentDaoImpl();

	@Override
	public int addComment(Comment comment)
	{
		return dao.addComment(comment);
	}

	@Override
	public List<Comment> showCommentByBid(String bid)
	{
		return dao.findCommentByBid(bid);
	}


}
